package cn.itsub.touchserver;

/**
 *
 */
public class BrokerConfig {
    private String protocol;
    private String host;
    private int port;
    private boolean daemon;

    public String getProtocol() {
        return protocol;
    }

    public BrokerConfig setProtocol(String protocol) {
        this.protocol = protocol;
        return this;
    }

    public String getHost() {
        return host;
    }

    public BrokerConfig setHost(String host) {
        this.host = host;
        return this;
    }

    public int getPort() {
        return port;
    }

    public BrokerConfig setPort(int port) {
        this.port = port;
        return this;
    }

    public boolean isDaemon() {
        return daemon;
    }

    public BrokerConfig setDaemon(boolean daemon) {
        this.daemon = daemon;
        return this;
    }
}
